package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该车辆违规离岗的持续时间
 */
public class CarViolationDemobilizTimeKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_VIOLATION_DEMOBILIZ_TIME_PREFIX = "CAR_VIOLATION_DEMOBILIZ_TIME_TODAY_";

    private CarViolationDemobilizTimeKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarViolationDemobilizTimeKeyToday token = new CarViolationDemobilizTimeKeyToday(TOKEN_EXPIRE, CAR_VIOLATION_DEMOBILIZ_TIME_PREFIX);
}
